package com.zhz.stock.service;

import com.zhz.stock.pojo.Stock;

public interface StockService {
    
    int reduceStock(String goodsId, Integer num, Integer version);
    
    int reduceStockNoLock(String goodsId, Integer num);
    
    Stock getStockInfo(String goodsId);
}
